//
//  IDCViewController.h
//  Simple Calculator
//
//  Created by iD Student on 7/12/13.
//  Copyright (c) 2013 jasonkurtzman. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface IDCViewController : UIViewController
{
    IBOutlet UILabel *answerLabel;
    IBOutlet UILabel *equationLabel;
    
    IBOutlet UITextField *inputField;
    
    IBOutlet UIButton *addButton;
    IBOutlet UIButton *subButton;
    IBOutlet UIButton *mulButton;
    IBOutlet UIButton *divButton;
    
    float num1;
    float num2;
    float ans;
    int operation;
}

@property (nonatomic, retain) UILabel *answerLabel, *equationLabel;
@property (nonatomic, retain) UITextField *inputField;
@property (nonatomic, retain) UIButton *addButton, *subButton, *mulButton, *divButton;
@property (nonatomic, readwrite) int operation;
@property (nonatomic, readwrite) float num1, num2, ans;

-(IBAction) addButtonClicked;
-(IBAction) subtractButtonClicked;
-(IBAction) multiplyButtonClicked;
-(IBAction) devideButtonClicked;
-(IBAction) equalsButtonClicked;

@end
